import { PageEnum } from '/@/enums/pageEnum';

// 热榜
export default {
  path: PageEnum.HOT,
  name: 'HOT',
  meta: {
    isAuthorCenter: true,
    requiredAuth: true,
  },
  components: {
    header: () => import('/@/components/MainHeaderBox.vue'),
    default: () => import('/@/views/hot/Hot.vue'),
  },
  redirect: PageEnum.HOT,
  children: [
    // 热榜-文章
    {
      path: PageEnum.HOT_ARTICLES,
      name: 'HOT_ARTICLES',
      component: () => import('/@/views/hot/Articles.vue'),
    },
  ],
};
